{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport classNames from 'classnames';\nvar InputStatuses = ['warning', 'error', ''];\nexport function getStatusClassNames(prefixCls, status, hasFeedback) {\n  var _classNames;\n  return classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-status-success\"), status === 'success'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-status-warning\"), status === 'warning'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-status-error\"), status === 'error'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-status-validating\"), status === 'validating'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-has-feedback\"), hasFeedback), _classNames));\n}\nexport var getMergedStatus = function getMergedStatus(contextStatus, customStatus) {\n  return customStatus || contextStatus;\n};","map":{"version":3,"names":["classNames","InputStatuses","getStatusClassNames","prefixCls","status","hasFeedback","getMergedStatus","contextStatus","customStatus"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/_util/statusUtils.js"],"sourcesContent":["import classNames from 'classnames';\nconst InputStatuses = ['warning', 'error', ''];\nexport function getStatusClassNames(prefixCls, status, hasFeedback) {\n  return classNames({\n    [`${prefixCls}-status-success`]: status === 'success',\n    [`${prefixCls}-status-warning`]: status === 'warning',\n    [`${prefixCls}-status-error`]: status === 'error',\n    [`${prefixCls}-status-validating`]: status === 'validating',\n    [`${prefixCls}-has-feedback`]: hasFeedback\n  });\n}\nexport const getMergedStatus = (contextStatus, customStatus) => customStatus || contextStatus;"],"mappings":";AAAA,OAAOA,UAAU,MAAM,YAAY;AACnC,IAAMC,aAAa,GAAG,CAAC,SAAS,EAAE,OAAO,EAAE,EAAE,CAAC;AAC9C,OAAO,SAASC,mBAAmB,CAACC,SAAS,EAAEC,MAAM,EAAEC,WAAW,EAAE;EAAA;EAClE,OAAOL,UAAU,2DACXG,SAAS,sBAAoBC,MAAM,KAAK,SAAS,0CACjDD,SAAS,sBAAoBC,MAAM,KAAK,SAAS,0CACjDD,SAAS,oBAAkBC,MAAM,KAAK,OAAO,0CAC7CD,SAAS,yBAAuBC,MAAM,KAAK,YAAY,0CACvDD,SAAS,oBAAkBE,WAAW,gBAC1C;AACJ;AACA,OAAO,IAAMC,eAAe,GAAG,SAAlBA,eAAe,CAAIC,aAAa,EAAEC,YAAY;EAAA,OAAKA,YAAY,IAAID,aAAa;AAAA"},"metadata":{},"sourceType":"module"}